package com.wsx.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.wsx.common.R;
import com.wsx.entity.Employee;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface EmployeeService extends IService<Employee>{
    /*
        根据用户名查询Employee用户
     */
    Employee getSelectByName(String username);

    int insertEmployee(Employee employee);

    PageInfo getSelectByMybatisPage(int page, int pageSize);

    int updateByEmployee(Employee employee);



}